/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.ocpviolate.loanImpl;

import za.ac.cput.assignment2.ocpviolate.LoanRequest;

/**
 *
 * @author yandiswa
 */
public class LoanRequestImpl implements LoanRequest{

    double accBalance;

     public void balance(double bal)
     {
         accBalance = bal;
     }

    public String approval()
    {
        if(accBalance > 5000)
            return "Loan Approved";
        else
            return "Insufficient Balance";
    }
   

   
    
}
